//
//  MSTabBarView.h
//  MyShare
//
//  Created by koki on 15/9/15.
//  Copyright (c) 2015年 MyShare. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef NS_ENUM(NSInteger,MSTabBarBtnType)
{
    MSTabBarBtnType_Home = 1,     //首页
    MSTabBarBtnType_Trade,        //交易
    MSTabBarBtnType_Mine,         //我的
    MSTabBarBtnType_Count,
};



@class MSTabBarView;
@protocol MSTabBarDeleaget <NSObject>
@optional
-(void)tabBarView:(MSTabBarView*)tabBar didSelectItemIndex:(NSInteger)itemIndex;
@end

//**** define MSTabBarView ****************

@interface MSTabBarView : UIView<UICollectionViewDelegate,UICollectionViewDataSource>
@property(nonatomic,strong)NSMutableArray* dataArray;
@property(nonatomic,weak)id<MSTabBarDeleaget> delegate;
@property(nonatomic,assign)int selectedIndex;
@end


//**** define MSTableBarCell ****************

@interface MSTableBarCell : UICollectionViewCell
@property (nonatomic,assign) BOOL bSeleted;
@property (nonatomic,strong) NSDictionary* data;
@end





